<template>
  <div>
      我是男生包包的详情页
  </div>
</template>
<script>
export default {
  created(){
    this.$axios.all([
       this.$axios.post("/api/gethotnews"),
       this.$axios.get("/api/getmaillist")
    ]).then(res=>{
      console.log("chengg");
      let [mailist,hotnews]=res;
      this.maillist = mailist['data']['resultMock'];
      this.hotnews = hotnews['data']['resultMock'];
      console.log(this.maillist)
      console.log(this.hotnews)
    },err=>{
      console.log("shibai")
      console.log(err)
    })
    // this.$axios.get("/api/gethotnews").then(data=>{
    //   console.log("chengg")
    //   console.log(data)
    // },err=>{
    //   console.log("shibaile")
    //   console.log(err)
    // })
  }
}
</script>

